package org.dromara.bzIns.domain.bo;

import org.dromara.bzIns.domain.CarIcon;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 汽车图标业务对象 bz_car_icon
 *
 * @author bz_huaYal9146
 * @date 2025-03-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = CarIcon.class, reverseConvertGenerate = false)
public class CarIconBo extends BaseEntity {

    /**
     * 汽车图标Id
     */
    @NotNull(message = "汽车图标Id不能为空", groups = { EditGroup.class })
    private Long carIconId;

    /**
     * 品牌型号
     */
    @NotBlank(message = "品牌型号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String brandModel;

    /**
     * 汽车图标
     */
    private String carIcon;

    /**
     * 是否显示  0-显示，1-不显示
     */
    private Long isDisplay;


}
